package com.example.pertecttime.tools;

import android.content.Context;
import android.content.Intent;

import com.example.pertecttime.activity.login.loginActivity;
import com.example.pertecttime.activity.main.mainActivity;

/**
 * Created by 半生瓜 on 2017/7/20.
 */

public class JumpUtil {
    public static void toLogin(Context context){
        Intent intent=new Intent(context,loginActivity.class);
        context.startActivity(intent);
    }
    public static void toMain(Context context){
        Intent intent=new Intent(context,mainActivity.class);
        context.startActivity(intent);
    }

}
